const User = require('../entity/User');


async function getUserById(id) {
  try {
    const user = await User.findByPk(id);
    console.log('User found:', user ? user.toJSON() : 'Not found');
  } catch (error) {
    console.error('Error getting user:', error);
  }
}